std::map::rend, std::map::crend

From Cppreference

Jump to: navigation, search
​iterator rend();

​const_iterator rend() const;

​const_iterator crend() const;
(C++0x feature)

Returns a reverse iterator to the element following the last element of the reversed container. It corresponds to the element preceding the first element of the non-reversed container. This element acts as a placeholder, attempting to access it results in undefined behavior.

Contents

Parameters

(none)

Return value

reverse iterator to the element following the last element

Complexity

constant

See also

rbegin
crbegin
returns a reverse iterator to the beginning
(public member function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages